#ifndef Charactere_h
#define Charactere_h
#include <string>
#include "Objet.h"
#include "Sac.h"
#include "Equipement.h"

using namespace std;

class Charactere {


 public:

    Charactere () {
        this->Defense=0.0;
        this->Intelligence=0.0;
        this->Furtivite=0.0;
        this->ChargeMax=0;
        this->EquipementCourant = new Equipement(*this);
    }

    Charactere (float def, float inte, float fur,int charge) {
        this->Defense=def;
        this->Intelligence=inte;
        this->Furtivite=fur;
        this->ChargeMax=charge;
        this->EquipementCourant = new Equipement(*this);
    }
    void shell();
    bool equiper_objet(string);



    virtual void setDef(float d);

    virtual void setInt(float i);

    virtual void setFur(float f);

    bool ChangeSac(Sac &S);

    void PrendreSac(Sac &S);

    int getChargeMax();

    void CreerObjet(vector<string>);

    string getNomArmure();

    int getPoidsPorte();

    void AffichePerso();

    void Jeter_objet(string);

    void ChangerSac();

    void ToutNu();

    void Action (vector <string>);

 public:
    float Defense;
    float Intelligence;
    float Furtivite;
    int ChargeMax;

    std::vector <Sac *> mySacDispo;


 public:

    Sac *mySac;

    Equipement *EquipementCourant;
};
#else
class Charactere;
#endif // Charactere_h
